package cn.ubeta.b2c.bean;

/**
 * Created by denny on 16/9/5.
 */

public class MeInfo extends ApiResp<MeInfo> {

    private int couponCount;
    private int favoriteCount;
    /**
     * nickname :
     * avatar :
     */

    private String nickname;
    private String avatar;

    public static MeInfo getTest() {
        MeInfo meInfo = new MeInfo();
        meInfo.couponCount = 1;
        meInfo.favoriteCount = 2;
        return meInfo;
    }

    public int getCouponCount() {
        return couponCount;
    }

    public int getFavoriteCount() {
        return favoriteCount;
    }

    public String getNickname() {
        if (getData() == null)
            return null;
        return getData().nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        if (getData() == null)
            return null;
        return getData().avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}
